package com.sanjin.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sanjin.mall.common.utils.PageUtils;
import com.sanjin.mall.product.entity.BrandEntity;
import com.sanjin.mall.product.entity.CategoryBrandRelationEntity;
import com.sanjin.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author sanjin
 * @email 1032628545@qq.com
 * @date 2023-05-02 13:30:21
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateBrandNameById(BrandEntity brandEntity);

    void updateCatelogNameById(CategoryEntity category);

    List<BrandEntity> getBrandsByCatId(Long catId);
}

